/**
 * 
 */
package com.feib.stms.model;

/**
 * @author Jimmy Liu
 *
 */
public class ConfirmRule extends AuditEntity
{
	private static final long serialVersionUID = -8875253135939525390L;

	/**
	 * PK 
	 */
	private  Long  confirmRulePk;

	/**
	 * 所屬群組
	 */
	private Group group;

	/**
	 * 放行通過門檻 
	 */	
	private Integer  confirmCount;  

	/**
	 * 審查通過門檻
	 */	
	private Integer  checkCount;

	/**
	 * 放行認證方式 	
	 * <strong>帳號密碼 簽章 簽章+Server認證</strong>
	 */
	private Integer confirmType;

	/**
	 * 是否啟用
	 *<strong> 一個Group只能有一個是true, 其他必須為false false表示歷史版本<br/>
	 * 
	 */
	private Boolean enabled;
	
	/**
	 * 加解密基碼 
	 * <strong>DES固定英數字八碼 空白為上傳檔案不加密</strong>
	 */
	private String  desKey;
	
	

	public Long getConfirmRulePk() {
		return confirmRulePk;
	}

	public void setConfirmRulePk(Long confirmRulePk) {
		this.confirmRulePk = confirmRulePk;
	}

	public Group getGroup() {
		return group;
	}

	public void setGroup(Group group) {
		this.group = group;
	}

	public Integer getConfirmCount() {
		return confirmCount;
	}

	public void setConfirmCount(Integer confirmCount) {
		this.confirmCount = confirmCount;
	}

	public Integer getCheckCount() {
		return checkCount;
	}

	public void setCheckCount(Integer checkCount) {
		this.checkCount = checkCount;
	}

	public Integer getConfirmType() {
		return confirmType;
	}

	public void setConfirmType(Integer confirmType) {
		this.confirmType = confirmType;
	}

	public Boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	/**
	 * @param desKey 的設定的 desKey
	 */
	public void setDesKey(String desKey) {
		this.desKey = desKey;
	}

	/**
	 * @return desKey
	 */
	public String getDesKey() {
		return desKey;
	}

}
